#include <stdio.h>

int Sum(int x, int y)
{
    int sum = 0;
    int i = x;
    for (; i <= y; i++)
    {
        sum += i;
    }
    return sum;
}

int main()
{
    printf("process is running\n");

    int start = 1;
    int end = 100;

    int sum = Sum(start, end);

    printf("process is done, result is :%d\n", sum);
    return 0;
}
